package com.ymtms.arrivalofgoods.service.impl;

import com.ymtms.arrivalofgoods.dao.DriverInformationMapper;
import com.ymtms.arrivalofgoods.pojo.DriverInformation;
import com.ymtms.arrivalofgoods.service.DriverInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DriverInformationServiceImpl implements DriverInformationService {
    @Autowired
    private DriverInformationMapper driverInformationMapper;
    @Override
    public DriverInformation findDriverByIdcard(String idcard) {
        return driverInformationMapper.queryIdByIdcard(idcard);
    }
}
